package cn.santi.service;

import cn.santi.domain.Administrator;

import java.util.List;

public interface AdminService {
    int adminAddadmin(Administrator administrator);

    Administrator getAdminByAccountNumber(String accountNumber);

    List<Administrator> adminGetAdminList();

    Administrator adminLogin(String name, String pwd);

    void adminUpdateAdmin(Administrator administrator);

    Administrator getAdminById(int id);

    Administrator adminGetUserByPwd(int idAsInt, String pwd);

    int adminUpdateAdminPwd(Administrator administrator);

    int adminDeleteAdmin(int id);

    List<Administrator> adminGetAdminListByClassify(String classify);
}
